//
//  DDDetailsSpecView.h
//  Dingdong
//
//  Created by 程强 on 16/11/28.
//  Copyright © 2016年 程强. All rights reserved.
//

#import <UIKit/UIKit.h>
#import "DDGoodsDetailsObj.h"

@class DDDetailsSpecView;

@protocol DDDetailsSpecViewDelegate <NSObject>
- (void)specView:(DDDetailsSpecView *)specView addGoodsToCart:(NSDictionary *)selectDic specValue:(NSDictionary *)valueDic;
@end

@interface DDDetailsSpecView : UIView
@property (assign, nonatomic) id <DDDetailsSpecViewDelegate> delegate;
@property (strong, nonatomic) DDGoodsSpecSet *specSet;
@property (strong, nonatomic) NSString *goodsPic;
@property (strong, nonatomic) NSNumber *goodsPrice;
@property (strong, nonatomic) NSString *goodsNum;
@property (strong, nonatomic) NSString *goodsSn;
@end


@interface DDDetailsSpecValueCell : UICollectionViewCell
@property (strong, nonatomic) NSString *specValue;
@property (assign, nonatomic) BOOL valueSelected;
@end
